```sql\nSELECT \n    COUNT(*) AS '本周期告警数',\n    (SELECT COUNT(*) FROM debot_m_alarm WHERE YEARWEEK(`reporting_time`, 1) = YEARWEEK(CURRENT_DATE, 1) - ${lastWeekNum}) AS '上周期告警数'\nFROM \n    debot_m_alarm\nWHERE \n    YEARWEEK(`reporting_time`, 1) = YEARWEEK(CURRENT_DATE, 1) - ${thisWeekNum}\n```